﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace DataAccess
{
    public class TruyXuatDangNhapNguoiDung
    {
        public DataTable LayDuLieu()
        {
            DataTable dt = new DataTable();
            DataProvider dp = new DataProvider();
            string sql = "Select TenTaiKhoan,MatKhau from KhachHang";
            dp.KetNoi();
            dt=dp.ExcuteQuery(sql);
            return dt;
        }
            
    }
}
